import request from '@/utils/request'


export default {

  typeList(data) {
    return request({
        url: '/souremate/classif/list',
        method: 'get',
        params:data
    })
  },
  listGoods(data) {
    return request({
        url: '/souremate/details/list',
        method: 'get',
        params:data
    })
  },
  create(data) {
    return request({
        url: '/souremate/details/create',
        method: 'post',
        data
    })
  },

  Delete(data) {
    return request({
        url: '/souremate/details/delete',
        method: 'post',
        data
    })
  },
  update(data) {
    return request({
        url: '/souremate/details/update',
        method: 'post',
        data
    })
  },
  read(data) {
    return request({
        url: '/souremate/details/read',
        method: 'get',
        params:data
    })
  }
  


}

